﻿using System;
using System.Collections.Generic;
using System.Text;
using ECOSYSTEM_Dominio;
using ECOSYSTEM_DAL;
using System.Data;

namespace ECOSYSTEM_BL
{
    public class GarantiaBL
    {
        GarantiaDAL laGarantiaDAL = new GarantiaDAL();
        public Boolean RegistrarGarantia(Garantia laGarantia, Int32 SerieID) {
            return laGarantiaDAL.RegistrarGarantia(laGarantia, SerieID);
        }
        public Boolean ActualizarGarantia(Garantia laGarantia, Int32 IDGarantia) {
            return laGarantiaDAL.ActualizarGarantia(laGarantia,IDGarantia);
        }
        public DataTable ObtenerProductoGarantia() {
            return laGarantiaDAL.ObtenerProductoGarantia();
        }
    }
}
